package com.example.text.ui.login.view

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.activityViewModels
import com.example.text.R
import com.example.text.base.BaseFragment
import com.example.text.databinding.FragmentForgetPwdBinding
import com.example.text.ui.login.viewmodel.LoginViewModel

class ForgetPwdFragment: BaseFragment<LoginViewModel, FragmentForgetPwdBinding>() {
    private val mViewModel:LoginViewModel by activityViewModels()
    override val mLayoutResId: Int
        get() = R.layout.fragment_forget_pwd

    override fun initView() {
        //设置当前正在显示的fragment
        mViewModel.setShowingFragmentTag(ForgetPwdFragment::class.simpleName.toString())
    }
}